import Vue from 'vue'
import App from './App'
import store from '@/store/index'
import '@/static/css/app.css'

Vue.config.productionTip = false
Vue.prototype.$store = store
App.mpType = 'app'

const app = new Vue(App)
app.$mount()

export default {
  // 这个字段走 app.json
  config: {
    // 页面前带有 ^ 符号的，会被编译成首页，其他页面可以选填，我们会自动把 webpack entry 里面的入口页面加进去
    pages: [
           'pages/logs/main',
           'pages/counter/main',
           '^pages/index/main'
           ],
    window: {
        backgroundTextStyle: 'light',
        navigationBarBackgroundColor: '#fff',
        navigationBarTitleText: 'WeChat',
        navigationBarTextStyle: 'black'
    },
    tabBar: {
      "color": "#a9b7b7", 
      "borderStyle":"white",
      "selectedColor": "#ffd600",
      "backgroundColor":"#f9f9f9",
      "list": [
      {
        "pagePath": "pages/index/main",
        "text": "首页",
        "iconPath": "static/img/index.png",
        "selectedIconPath": "static/img/index-active.png"
      },
      {
        "pagePath": "pages/logs/main",
        "text": "订单",
        "iconPath": "static/img/order.png",
        "selectedIconPath": "static/img/order-active.png"
      },
      {
        "pagePath": "pages/logs/main",
        "text": "我的",
        "iconPath": "static/img/home.png",
        "selectedIconPath": "static/img/home-active.png"
      }]
    },
    "networkTimeout":
    {
      "request": 10000,
      "downloadFile": 10000
    },
    "debug": true
  }
}
